import 'package:json_annotation/json_annotation.dart';

part 'ConsignReply.g.dart';

@JsonSerializable()
class ConsignReply {
  ConsignReply();

  int? id;
  int? commentId;
  String? userId;
  String? content;
  int? parentReplyId;
  String? createTime;
  int? likeCount;
  int? productId;
  String? toUserId;
  String? toUserName;
  String? toUserImgUrl;
  String? userName;
  String? userImgUrl;
  bool? like;
  
  factory ConsignReply.fromJson(Map<String,dynamic> json) => _$ConsignReplyFromJson(json);
  Map<String, dynamic> toJson() => _$ConsignReplyToJson(this);
}
